package com.pinda.base.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.pinda.auth.entity.PdAuthUser;
import com.pinda.base.entity.PdTruck;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FleetVo  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /**
     * 车队名称
     */
    private String name;

    private String fleetNumber;

    /**
     * 所属机构
     */
    private String agencyId;

    /**
     * 负责人
     */
    private String manager;

    /**
     * 状态 0：禁用 1：正常
     */
    private Integer status;

    /**
     * 车队下的车俩
     */
    private List<PdTruck> pdTrucks;
    /**
     * 车队下的司机
     */
    private List<PdAuthUser> pdAuthUsers;

    /**
     * 机构名称
     */
    private String agencyName;

}
